﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using Register.Model;

namespace Register.IDAL
{
 public    interface IRole
    {
        List<Role> GetAllRole(string where, int pageIndex, int size);
        int AddRole(Role role);
        bool UpdateRole(Role role);
        bool DeleteRole(string Role_ID);
        int GetRoleCount(string where);
    }
}
